package com.changgou.search.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * 描述
 *
 * @author ljh
 * @version 1.0
 * @package com.changgou.search *
 * @Date 2019-12-1
 * @since 1.0
 */
@FeignClient(name="search")
public interface SkuFeign {
    //获取搜索的结果集
    @GetMapping("/search")
    public Map search(@RequestParam(required = false) Map searchMap);
}
